package com.treasure.infrastructure.model.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author sunhongmin
 * @since 2023-11-17
 */
@TableName("user_ratings")
public class UserRatings implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Integer corpId;

    private String userId;

    private Integer chatHisDetailId;

    private Integer rating;

    private String comment;

    private LocalDateTime createTime;

    private Integer robotId;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getCorpId() {
        return corpId;
    }

    public void setCorpId(Integer corpId) {
        this.corpId = corpId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Integer getChatHisDetailId() {
        return chatHisDetailId;
    }

    public void setChatHisDetailId(Integer chatHisDetailId) {
        this.chatHisDetailId = chatHisDetailId;
    }

    public Integer getRating() {
        return rating;
    }

    public void setRating(Integer rating) {
        this.rating = rating;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public Integer getRobotId() {
        return robotId;
    }

    public void setRobotId(Integer robotId) {
        this.robotId = robotId;
    }

    @Override
    public String toString() {
        return "UserRatings{" +
        "id = " + id +
        ", corpId = " + corpId +
        ", userId = " + userId +
        ", chatHisDetailId = " + chatHisDetailId +
        ", rating = " + rating +
        ", comment = " + comment +
        ", createTime = " + createTime +
        ", robotId = " + robotId +
        "}";
    }
}
